/**
 * 
 */
package com.sesame.dao;

import java.util.List;

import com.sesame.domain.Answer;

/**
 * @author shubeta
 *
 */
public interface AnswerDAO {
    public List<Answer> getAllAnswer();

    public Answer getAnswerByNickName(String nickName);

    public void addAnswer(Answer answer);

    public void deleteAnswerById(Integer id);
    
    public void deleteAnswerByNickName(String nickName);

    public void updateAnswer(Answer answer);
}
